package com.id.supaclean.ui.junk

import android.widget.ImageView
import android.widget.TextView
import com.id.supaclean.R
import com.id.supaclean.common.BaseFragment

/**
 * Created by YiGo on 2022/6/20.
 */
class CleanFinishFragment : BaseFragment() {
    override fun layoutId(): Int = R.layout.fragment_finish_clean

    override fun initView() {
        super.initView()
        if (arguments?.getString("finish_num") != null) {
            view?.findViewById<TextView>(R.id.clean_junk_num)?.text = arguments?.getString("finish_num")
        }
        view?.findViewById<ImageView>(R.id.clean_finish_iv)?.setOnClickListener {
            activity?.finish()
        }
        view?.findViewById<ImageView>(R.id.clean_finish_fragment_back_iv)?.setOnClickListener {
            activity?.finish()
        }
    }

}